Feature: Edit post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 38.421s |
Scenario: Edit a post successfully
Before
0m 1.061s
Given
I navigate to page "<URL>"
0m 4.662s
And
I enter email "<ADMIN_EMAIL>"
0m 1.241s
And
I enter password "<ADMIN_PASSWORD>"
0m 0.708s
And
I click on the login button
0m 3.771s
And
I wait for 2 seconds
0m 2.461s
When
I click on the new post button
0m 0.887s
And
I wait for 2 seconds
0m 2.233s
And
I write "Post nuevo" in the post title
0m 0.781s
And
I publish the new post
0m 1.780s
And
I wait for 2 seconds
0m 2.272s
And
I return to the posts list
0m 1.431s
And
I wait for 2 seconds
0m 2.271s
And
I filter posts by status Published
0m 1.253s
And
I wait for 2 seconds
0m 2.259s
And
I click in the first post in the list
0m 0.277s
When
I edit "Post editado" in the post title
0m 0.326s
And
I publish the edited post
0m 0.463s
And
I wait for 2 seconds
0m 2.225s
And
I return to the posts list
0m 0.914s
And
I wait for 2 seconds
0m 2.280s
And
I filter posts by status Published
0m 0.329s
And
I wait for 2 seconds
0m 2.271s
Then
I see that the first post in the list has title "Post editado"
0m 0.261s
After
0m 0.004s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "<URL>"
And
I enter email "<ADMIN_EMAIL>"
And
I enter password "<ADMIN_PASSWORD>"
And
I click on the login button
And
I wait for 2 seconds
When
I click on the new post button
And
I wait for 2 seconds
And
I write "Post nuevo" in the post title
And
I publish the new post
And
I wait for 2 seconds
And
I return to the posts list
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 2 seconds
And
I click in the first post in the list
When
I edit "Post editado" in the post title
And
I publish the edited post
And
I wait for 2 seconds
And
I return to the posts list
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 2 seconds
Then
I see that the first post in the list has title "Post editado"
After
NO IMAGE AVAILABLE